package com.zy.ems.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.zy.ems.mapper.PaperMapper;
import com.zy.ems.model.PaperEntity;

import com.zy.ems.common.base.BaseDao;

@Repository
public class PaperDao extends BaseDao<PaperEntity, Integer> {

    @Autowired
    private PaperMapper paperMapper;

    @Override
    @SuppressWarnings("unchecked")
    public PaperMapper getMapper() {
        return this.paperMapper;
    }

    @Override
    protected String getNamespace() {
        return PaperMapper.class.getName();
    }

}
